raar.register
Class RAType
java.lang.Object
raar.register.RAType
- All Implemented Interfaces:
- java.io.Serializable, RAAssignable, RAEqualityComparable, RAAllowed, RAAllowedInList, RADataType, RANonElemDataType
public class RAType
- extends java.lang.Object
- implements RAAssignable, RADataType, RANonElemDataType, RAEqualityComparable, RAAllowedInList
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RAType
public RAType()
RAType
public RAType(java.lang.String[] names,
RAAllowedInType[] values)
throws RAException
- Throws:
RAException
clone
public java.lang.Object clone()
- Specified by:
clone in interface RADataType- Overrides:
clone in class java.lang.Object
getValues
public RAAllowedInType[] getValues()
makeClone
public RAAllowed makeClone()
throws RAException
- Specified by:
makeClone in interface RAAllowed
- Throws:
RAException
structureEquals
public boolean structureEquals(RAType t)
structureEquals
public boolean structureEquals(RAType t,
boolean testNames)
canContain
public boolean canContain(RAAllowed other)
- Specified by:
canContain in interface RAAllowed
names
public java.lang.String[] names()
values
public RAAllowedInType[] values()
value
public RADataType value()
throws RAException
- Specified by:
value in interface RAAssignable
- Throws:
RAException
get
public RAAllowedInType get(java.lang.String name)
set
public void set(java.lang.String name,
RAAllowedInType newValue)
throws RAException
- Throws:
RAException
equals
public boolean equals(RAEqualityComparable otherElement)
throws RAException
- Specified by:
equals in interface RAEqualityComparable
- Throws:
RAException
getType
public int getType()
- Specified by:
getType in interface RADataType
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object